import homepage.views
import plainpages.views
import lighting.urls
import wallpaper.urls
from django.conf.urls.defaults import *
from django.contrib import admin
from django.forms import fields
from django.shortcuts import render_to_response
from django.views import static

admin.autodiscover()


urlpatterns = patterns('',
    (r'^admin/', include(admin.site.urls)),

    url(r'^$', homepage.views.root),
    (r'^static/(?P<path>.*)$', static.serve,
        {'document_root': '/Users/brett/Sites/Cannonbullock/cb/static'}),
    (r'^walls/', include(wallpaper.urls)),
    (r'^lights/', include(lighting.urls)),

    url(r'^(?P<slug>[\w-]+)$', plainpages.views.plainpage),
)
